﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Core.CommunityFiles
{
    public class Person
    {
        [XmlAttribute(AttributeName = "FName")]
        public string FirstName { get; set; }

        [XmlAttribute(AttributeName = "LName")]
        public string LastName { get; set; }

        [XmlAttribute(AttributeName = "AKAName")]
        public string AkaName { get; set; }

        [XmlAttribute(AttributeName = "AgeGroup")]
        public AgeGroupValue AgeGroup { get; set; }

        [XmlAttribute(AttributeName = "VotingEligibility")]
        public VotingEligibilityValue VotingEligibility { get; set; }

        [XmlAttribute(AttributeName = "Voted")]
        public VotedValue Voted { get; set; }
    }

    public enum VotedValue
    {
        Mailed,
        DroppedOff,
        VotedInPerson,
        No
    }
    public enum VotingEligibilityValue
    {
        Ineligible,
        Eligible,

    }
    public enum AgeGroupValue
    {
        Adult,
        Youth,
        Child,
        JnrYouth
    }
}
